<!--<p id="notice"><%= notice %></p>

<!--ul>
	<% @private_messages.each do |popsicle| %>
		<li>
			<%= Entity.find(popsicle.private_author_id).name %> sent you a message about <%= popsicle.subject %> at <%= popsicle.created_at %>
			<br>It says: <%= popsicle.content %>
		</li>
	<% end %>
</ul-->

<div class="main_content">
	<div id="private_messages">
		<h2>Private Messages</h2>
		</br>
		
		<% @private_messages.each do |m| %>
			<%= render :template => "popsicles/_show_clusters", :locals => { :message => @m = m, :type => @type = "private" } %>
		<% end %>
		
	</div>
	<div >
		<%= link_to 'Back to your page', entity_path(session[:user_id]) %>
	</div>
</div>

